package com.smart.manager.product.entities.body;

import com.smart.common.entities.core.BaseSearch;
import com.smart.manager.product.entities.enums.RfidStatus;
import com.smart.manager.product.entities.enums.RfidUseStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * 游戏管理  场地资料
 * @author leo
 * @date 2023/09/05
 */
public class RBasicRfid {

    @Data
    @EqualsAndHashCode(callSuper = true)
    @ApiModel("RBasicRfid1")
    public static class SearchBody extends BaseSearch {
        /**
         *蓝牙耳标mac
         */
        @ApiModelProperty("蓝牙耳标mac")
        private String beaconMac;

        @ApiModelProperty("耳标在线状态")
        private RfidStatus status;

        @ApiModelProperty("耳标使用状态")
        private RfidUseStatus useStatus;

    }

    @Data
    @ApiModel("RBasicRfid2")
    public static class EditBody  implements Serializable {

        /**
         *耳标名称
         */
        @ApiModelProperty("耳标名称")
        private String name;

        /**
         *蓝牙耳标mac
         */
        @ApiModelProperty("蓝牙耳标mac")
        private String beaconMac;

    }

}
